package com.yantu.view;


import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("修改用户信息view类")
public class ModifyUserView implements Serializable {

    @JsonProperty("phone")
    @ApiModelProperty(value = "用户电话")
    private String phone;

    @JsonProperty("birthDay")
    @ApiModelProperty(value = "用户生日")
    private Date birthDay;

    @JsonProperty("realName")
    @ApiModelProperty(value = "用户真实姓名")
    private String realName;

    @JsonProperty("age")
    @ApiModelProperty(value = "用户年纪")
    private Integer age;

    @JsonProperty("sex")
    @ApiModelProperty(value = "用户性别：1.男 2女")
    private Integer sex;
}
